package com.example.restaurant.common.allenum;

public enum OrderStatus {
    NEW_ORDER("NEW_ORDER","新订单"),
    END_ORDER("END_ORDER","完成订单"),
    EXCEPTION_ORDER("EXCEPTION_ORDER","异常订单");
    private String code;
    private String message;

    OrderStatus(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
